<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Public APIs - 开发者的免费API宝库</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 4rem;
            line-height: 3rem;
            padding-right: 0.5rem;
            margin-top: 0.5rem;
            font-weight: 700;
            color: #667eea;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        .step-number {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 1rem;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <h1 class="text-5xl md:text-7xl font-bold mb-6 animate-pulse">
                <i class="fas fa-code-branch mr-4"></i>Public APIs
            </h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90">开发者的免费API宝库</p>
            <div class="flex justify-center space-x-6">
                <a href="https://github.com/public-apis/public-apis" target="_blank" class="bg-white text-purple-700 px-8 py-4 rounded-full font-semibold hover:bg-opacity-90 transition-all duration-300 shadow-lg">
                    <i class="fab fa-github mr-2"></i>访问 GitHub
                </a>
                <div class="bg-white bg-opacity-20 px-8 py-4 rounded-full font-semibold backdrop-blur-sm">
                    <i class="fas fa-rocket mr-2"></i>1400+ 免费API
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-6xl mx-auto px-6 py-12">
        <!-- Introduction -->
        <section class="bg-white rounded-3xl shadow-2xl p-8 md:p-12 mb-12 card-hover">
            <p class="text-lg leading-relaxed text-gray-700 drop-cap">
                Public APIs是一个精心整理的免费API资源集合，为开发者提供便捷的第三方服务接入方案。无论是个人开发者还是企业团队，都能在这里找到所需的API接口。
            </p>
        </section>

        <!-- Core Features -->
        <section class="mb-12">
            <h2 class="text-4xl font-bold mb-8 text-center">
                <span class="text-gradient">核心功能概述</span>
            </h2>
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
                <div class="bg-white rounded-2xl p-6 shadow-lg card-hover">
                    <i class="fas fa-database text-4xl feature-icon mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">海量资源</h3>
                    <p class="text-gray-600">提供超过1400个免费API接口，涵盖天气、金融、社交媒体等20多个类别</p>
                </div>
                <div class="bg-white rounded-2xl p-6 shadow-lg card-hover">
                    <i class="fas fa-book text-4xl feature-icon mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">详细文档</h3>
                    <p class="text-gray-600">每个API条目包含详细的文档链接、认证要求和示例代码</p>
                </div>
                <div class="bg-white rounded-2xl p-6 shadow-lg card-hover">
                    <i class="fas fa-filter text-4xl feature-icon mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">智能筛选</h3>
                    <p class="text-gray-600">支持按类别、认证方式、HTTPS支持等条件进行筛选</p>
                </div>
                <div class="bg-white rounded-2xl p-6 shadow-lg card-hover">
                    <i class="fas fa-heartbeat text-4xl feature-icon mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">状态监控</h3>
                    <p class="text-gray-600">提供API状态监控，确保接口可用性</p>
                </div>
                <div class="bg-white rounded-2xl p-6 shadow-lg card-hover">
                    <i class="fas fa-users text-4xl feature-icon mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">社区驱动</h3>
                    <p class="text-gray-600">社区驱动，持续更新维护</p>
                </div>
            </div>
        </section>

        <!-- API Categories Visualization -->
        <section class="bg-white rounded-3xl shadow-2xl p-8 md:p-12 mb-12">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-sitemap mr-3 text-purple-600"></i>API 分类概览
            </h2>
            <div class="mermaid">
                graph TD
                    A[Public APIs] --> B[开发工具]
                    A --> C[数据服务]
                    A --> D[生活服务]
                    A --> E[娱乐媒体]
                    
                    B --> B1[代码托管]
                    B --> B2[CI/CD]
                    B --> B3[测试工具]
                    
                    C --> C1[天气数据]
                    C --> C2[金融数据]
                    C --> C3[地理信息]
                    
                    D --> D1[翻译服务]
                    D --> D2[邮件服务]
                    D --> D3[短信服务]
                    
                    E --> E1[音乐API]
                    E --> E2[视频API]
                    E --> E3[游戏API]
                    
                    style A fill:#667eea,stroke:#764ba2,stroke-width:3px,color:#fff
                    style B fill:#f3e5f5,stroke:#9c27b0
                    style C fill:#e8f5e9,stroke:#4caf50
                    style D fill:#fff3e0,stroke:#ff9800
                    style E fill:#e3f2fd,stroke:#2196f3
            </div>
        </section>

        <!-- Use Cases -->
        <section class="mb-12">
            <h2 class="text-4xl font-bold mb-8 text-center">
                <span class="text-gradient">使用场景</span>
            </h2>
            <div class="space-y-6">
                <div class="bg-gradient-to-r from-purple-50 to-pink-50 rounded-2xl p-8 border-l-4 border-purple-600">
                    <h3 class="text-2xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-rocket mr-3 text-purple-600"></i>快速开发原型
                    </h3>
                    <p class="text-gray-700 text-lg">无需从零开始构建基础功能，直接调用现成API</p>
                </div>
                <div class="bg-gradient-to-r from-blue-50 to-cyan-50 rounded-2xl p-8 border-l-4 border-blue-600">
                    <h3 class="text-2xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-graduation-cap mr-3 text-blue-600"></i>学习API集成
                    </h3>
                    <p class="text-gray-700 text-lg">新手开发者可以通过实践掌握API调用技巧</p>
                </div>
                <div class="bg-gradient-to-r from-green-50 to-teal-50 rounded-2xl p-8 border-l-4 border-green-600">
                    <h3 class="text-2xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-puzzle-piece mr-3 text-green-600"></i>扩展应用功能
                    </h3>
                    <p class="text-gray-700 text-lg">为现有应用添加新特性，如天气信息、新闻推送等</p>
                </div>
            </div>
        </section>

        <!-- Advantages -->
        <section class="bg-white rounded-3xl shadow-2xl p-8 md:p-12 mb-12">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-star mr-3 text-yellow-500"></i>优势与特色
            </h2>
            <div class="grid md:grid-cols-2 gap-6">
                <div class="flex items-start space-x-4">
                    <i class="fas fa-gift text-2xl text-purple-600 mt-1"></i>
                    <div>
                        <h4 class="font-semibold text-lg mb-1">完全免费</h4>
                        <p class="text-gray-600">无需注册即可使用</p>
                    </div>
                </div>
                <div class="flex items-start space-x-4">
                    <i class="fas fa-shield-alt text-2xl text-purple-600 mt-1"></i>
                    <div>
                        <h4 class="font-semibold text-lg mb-1">质量保证</h4>
                        <p class="text-gray-600">经过社区筛选和验证</p>
                    </div>
                </div>
                <div class="flex items-start space-x-4">
                    <i class="fas fa-search text-2xl text-purple-600 mt-1"></i>
                    <div>
                        <h4 class="font-semibold text-lg mb-1">便捷查找</h4>
                        <p class="text-gray-600">分类清晰，查找便捷</p>
                    </div>
                </div>
                <div class="flex items-start space-x-4">
                    <i class="fas fa-key text-2xl text-purple-600 mt-1"></i>
                    <div>
                        <h4 class="font-semibold text-lg mb-1">多种认证</h4>
                        <p class="text-gray-600">支持多种认证方式</p>
                    </div>
                </div>
                <div class="flex items-start space-x-4">
                    <i class="fas fa-sync text-2xl text-purple-600 mt-1"></i>
                    <div>
                        <h4 class="font-semibold text-lg mb-1">持续更新</h4>
                        <p class="text-gray-600">保持API列表的时效性</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- Getting Started -->
        <section class="mb-12">
            <h2 class="text-4xl font-bold mb-8 text-center">
                <span class="text-gradient">上手指南</span>
            </h2>
            <div class="bg-white rounded-3xl shadow-2xl p-8 md:p-12">
                <div class="space-y-6">
                    <div class="flex items-center">
                        <span class="step-number">1</span>
                        <p class="text-lg">访问GitHub仓库</p>
                    </div>
                    <div class="flex items-center">
                        <span class="step-number">2</span>
                        <p class="text-lg">浏览API分类列表</p>
                    </div>
                    <div class="flex items-center">
                        <span class="step-number">3</span>
                        <p class="text-lg">选择所需API</p>
                    </div>
                    <div class="flex items-center">
                        <span class="step-number">4</span>
                        <p class="text-lg">查看文档和认证要求</p>
                    </div>
                    <div class="flex items-center">
                        <span class="step-number">5</span>